.index {
  // 轮播图的样式
  padding-bottom: 50px;
  .swipe {
  }

  // 导航栏样式
  .nav {
    img {
      width: 48px;
      height: 48px;
    }
  }

  // 租房小组样式
  .group {
    .groupTitle {
      display: flex;
      justify-content: space-around;
      padding: 20px 8px 10px 8px;
      .right {
        text-align: right;
      }
      .bold {
        font-weight: bold;
      }
      p {
        flex: 1;
      }
    }

    .grid-item {
      display: flex;
      justify-content: space-around;
      align-items: center;
      img {
        height: 55px;
        width: 55px;
      }
      .title {
        h3 {
          font-size: 13px;
        }
        p {
          font-size: 12px;
          color: rgba(0, 0, 0, 0.5);
        }
      }
    }
  }

  /* 新闻资讯 */
  .news {
    background-color: #fff;
    margin-top: 10px;
    padding: 5px 0 0 20px;

    .title {
      font-size: 15px;
      /* margin-top: 20px; */
    }

    .news-item {
      height: 120px;
      padding: 15px 10px 15px 0;
      border-bottom: 1px solid #e5e5e5;
    }

    .news-item:last-child {
      border: 0;
    }

    .imgwrap {
      float: left;
      height: 90px;
      width: 120px;
    }

    .img {
      height: 90px;
      width: 120px;
    }

    .content {
      overflow: hidden;
      height: 100%;
      padding-left: 12px;
    }

    .info {
      width: 100%;
      color: #9c9fa1;
      font-size: 12px;
    }

    .message-title {
      margin-bottom: 48px;
    }
  }

  // 搜索组件样式
  $search_height: 34px;
  $color: rgba(0, 0, 0, 0.5);
  .search {
    position: absolute;
    top: 25px;
    z-index: 9;
    width: 100%;
    padding: 0 20px;
    height: $search_height;

    .left {
      background-color: #fff;
      height: $search_height;
      flex: 9;
      border-radius: 4px;

      input {
        border: none;
        padding-left: 10px;
        flex: 11;
      }
      .area {
        padding-left: 10px;
        flex: 2;
      }
      .arrow {
        color: $color;
        font-size: 12px;
      }
      .seachicon {
        border-left: 1px solid rgba(0, 0, 0, 0.1);
        flex: 10;
        .icon-seach {
          color: $color;
          flex: 2;
        }
      }
      span {
        line-height: $search_height;
      }
    }

    .right {
      line-height: $search_height;
      font-size: 25px;
      color: #fff;
      flex: 1;
      text-align: right;
    }
  }
}
